package TutorialPoint;

public class Employee {
	String name;
	int age;
	String designation;
	double salary;

	public Employee(String name){
		this.name = name;
	}
	
	public Employee(String name , int age , String designation , int salary){
		this.name = name;
		this.designation = designation;
		this.age = age;
		this.salary = salary;
		
	}
	
	public void empName(String empName){
		name = empName;
	}

	public void empAge(int empAge){
		age = empAge;
	}
	
	public void empDesig(String empDesig){
		designation = empDesig;
	}
	public void empSalary(double empSalary){
		salary = empSalary;
	}
	public void printEmployee(){
		System.out.println("Employee Name: " + name);
		System.out.println("Employee Age: " + age);
		System.out.println("Employee Designation: " + designation);
		System.out.println("Employee Salary: " + salary);
	}
}
